package com.xc.freeapp.service;

import java.util.List;

import com.xc.freeapp.entity.DeptInfo;

/**
 * 数据处理接口
 * 
 * @author ZhouXinjie
 * 
 */

public interface DeptService {

	public List<DeptInfo> queryDeptBySuperId(String superId);

	public DeptInfo getDeptByDeptId(String deptId);

	public int insertDept(DeptInfo dept);

	public int updateDept(DeptInfo dept);

	public int deleteDept(String deptId);

	public String getMaxPrimaryKey();

	public String getMaxDeptNo(String superId);

	public List<DeptInfo> getDeptByDeptManager(String userId);

}
